import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/invite_info_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/invite_info_entity.g.dart';

@JsonSerializable()
class InviteInfoEntity {
	@JSONField(name: "Avatar")
	String? avatar;
	@JSONField(name: "NickName")
	String? nickName;
	@JSONField(name: "Balance")
	int? balance;
	@JSONField(name: "GuildAvatar")
	String? guildAvatar;
	@JSONField(name: "GuildName")
	String? guildName;
	@JSONField(name: "IsBound")
	bool? isBound;
	@JSONField(name: "GameUserBindType")
	int? gameUserBindType = 0;
	@JSONField(name: "GameUserEmail")
	String? gameUserEmail;
	@JSONField(name: "ShareUrl")
	String? shareUrl;
	@JSONField(name: "InviterEmail")
	String? inviterEmail;

	InviteInfoEntity();

	factory InviteInfoEntity.fromJson(Map<String, dynamic> json) => $InviteInfoEntityFromJson(json);

	Map<String, dynamic> toJson() => $InviteInfoEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}